On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sat, 11 May 2024 21:03:04 +0000 (23:03 +0200)
committerPino Toscano <pino@debian.org>
Sat, 11 May 2024 21:03:04 +0000 (23:03 +0200)
commit3d2b11f662c4bb0d18b30bad733e864d644af6e2
tree188cdd3b06614378aa26ac9e4007df1ddbade325
parent301a647f62640002d77d2c6db17aa48acaecbc05
On Hurd, do not look for functions unimplemented in libc

Last-Update: 2022-02-22
Forwarded: not-needed

The check_function_exists() function of cmake does not keep into account the
defines that glibc provides for the stubs (i.e. unimplemented functions that
always return ENOSYS), so some functions are detected as available.
Unfortunately, due to --fatal-warnings for the linker, linking will fail.
Hence, do not attempt to look for functions that are currently unimplemented
on GNU/Hurd's libc.

Gbp-Pq: Name hurd_disable_unimplemented.diff
src/ioslaves/file/ConfigureChecks.cmake